.contact-detail .header {
  overflow: hidden;
  background: #6f50ff;
}
.contact-detail .header .content {
  display: flex;
  margin-top: 43px;
  margin-bottom: 17px;
}
.contact-detail .header .content .title {
  text-align: center;
  position: relative;
  width: 100%;
  color: #fff;
  font-size: 20px;
  font-family: Futura;
}
.contact-detail .header .content .title .back {
  position: absolute;
  left: 5vw;
  height: 27px;
}

.contact-detail .user-info-action {
  height: 166px;
  background: #fff;
  box-shadow: 0px 3px 6px #00000029;
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  position: relative;
  z-index: 2;
}
.contact-detail .user-info-action.fade-out {
  height: 67px;
}
.contact-detail .user-info-action .action {
  display: flex;
  justify-content: space-between;
  padding: 0 5vw 10px;
}

.contact-detail .user-info-action .action.fade-out {
  visibility: hidden;
}

.contact-detail .user-info-action .action img {
  width: 27px;
  height: 27px;
}
.contact-detail .user-info-action .user-info {
  padding: 20px 5vw 10px 5vw;
  display: flex;
}
.contact-detail .user-info-action .user-info img {
  width: 80px;
  margin: 0 4vw 20px 0;
}
.contact-detail .user-info-action .user-info .username {
  display: flex;
  margin-top: 12px;
}
.contact-detail .user-info-action .user-info .username .name {
  color: #5d5d5d;
  font-size: 26px;
  font-family: Futura;
  font-weight: 500;
  white-space: nowrap;
}

.contact-detail .user-info-action .user-info .username .is-new {
  margin: 8px 0 8px 8px;
}
.contact-detail .user-info-action .user-info .status-block {
  text-align: left;
}
.contact-detail .user-info-action .user-info .status-block .status {
  min-width: 49px;
  display: inline-block;
  text-align: center;
  border: 2px solid #fdd15b;
  border-radius: 10px;
  color: #6a6a6a;
  padding: 0 10px;
  font-size: 10px;
  font-family: Futura;
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}

.contact-detail .user-info-action .user-info .status-block .status0 {
  color: #6a6a6a;
}
.contact-detail .user-info-action .user-info .status-block .status2 {
  background: #fdd15b;
  color: #6a6a6a;
}
.contact-detail .user-info-action .user-info .status-block .status3 {
  background: #63d01f;
  border: 2px solid #63d01f;
  color: #fff;
}

.contact-detail .user-info-action .user-info .status-block .flashing {
  background: lightblue;
  border: 2px solid lightblue;
}
.contact-detail .contact-detail-block {
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  box-shadow: 0px 3px 6px #00000029;
  position: absolute;
  top: 254px;
  width: 100%;
  z-index: 2;
}
.contact-detail .contact-detail-block.fade-out {
  visibility: hidden;
}
.contact-detail .contact-detail-block .title {
  color: #646464;
  font-size: 16px;
  font-family: Futura;
  font-weight: 500;
  text-align: left;
  position: relative;
  padding: 15px 5vw 7px;
}
.contact-detail .contact-detail-block .title .edit-btn {
  position: absolute;
  right: 5vw;
  top: 15px;
  color: #b3b3b3;
  font-weight: 400;
}
.contact-detail .contact-detail-block .content {
  background: #fff;
  padding-bottom: 15px;
}
.contact-detail .contact-detail-block .content .row {
  padding: 15px 5vw 0px;
  display: flex;
}

.contact-detail .contact-detail-block .content .row .name {
  color: #646464;
  text-align: left;
  min-width: 70px;
}
.contact-detail .contact-detail-block .content .row .value {
  color: #9b9b9b;
  text-align: left;
}

.contact-detail .activities {
  box-shadow: 0px 3px 6px #00000029;
  background: #fff;
  position: absolute;
  top: 384px;
  width: 100%;
  min-height: 174px;
  z-index: 1;
}
.contact-detail .activities .title {
  background: #f4f4f4;
  color: #646464;
  font-size: 16px;
  font-family: Futura;
  font-weight: 500;
  text-align: left;
  position: relative;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  padding: 15px 5vw 7px;
}
.activities .content {
  background: #fff;
  padding-bottom: 14px;

  position: absolute;
  width: 100%;
  top: 43px;
  opacity: 1;
  transition: top 0.8s cubic-bezier(0.68, 0, 0.27, 1),
    opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}
.activities .content.shadow {
  box-shadow: 0px 3px 6px #00000029;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.activities .content .row {
  padding: 15px 8vw 0;
  display: flex;
}

.activities .content .row.fade-in {
  animation: fadeIn 0.8s linear;
}

@keyframes moveDown {
  0% {
    transform: translateY(-74px);
  }
  100% {
    transform: translateY(0px);
  }
}

.activities .content .row.move-down {
  animation: moveDown 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}

.activities .content .row .line {
  position: absolute;
  width: 2px;
  height: 51px;
  background-color: #7d50ff;
  top: 31px;
  left: 14px;
}
.activities .content .row .line.short {
  height: 34px;
}
.activities .content .row .icon-wrapper {
  position: relative;
}
.activities .content .row .icon {
  width: 32px;
  height: 32px;
}
.activities .content .row .info {
  text-align: left;
  padding-left: 20px;
}
.activities .content .row .text {
  color: #646464;
  font-size: 16px;
  font-family: Futura;
  font-weight: 500;
}
.activities .content .row .info-time {
  color: #918e8e;
  line-height: 22px;
  font-size: 10px;
  font-family: Futura;
}
.activities .content .row .desc {
  color: #918e8e;
  font-size: 10px;
  font-family: Futura;
  max-height: 24px;
  overflow: auto;
}

.contact-detail {
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  width: 100%;
  position: absolute;
  transform: translateX(0px);
}
.contact-detail.out {
  transform: translateX(100%);
}
.action .call-block {
  position: relative;
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}
.action .call-block span {
  opacity: 0;
  width: 100px;
  transition: opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  line-height: 27px;
  position: absolute;
  z-index: -1;
  left: 30px;

  font-size: 24px;
  font-family: Futura;
  color: #7048ff;
  font-weight: 500;
}
.action.fade-out .call-block {
  transform: translate(calc(44vw - 220%), -104px);
  visibility: visible;
}
.action.fade-out .call-block span {
  opacity: 1;
  z-index: 1;
}
.contact-detail .detail-content {
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  opacity: 1;
}
.contact-detail .detail-content.fade-out {
  opacity: 0;
  height: 67px;
}
.contact-detail-block,
.activities {
  transition: opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  opacity: 1;
}
.contact-detail-block.fade-out {
  opacity: 0;
}

.user-info-action .action {
  height: 33px;
}
.user-info-action .user-info {
  height: 93px;
}
.user-info-action .action,
.user-info-action .user-info {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1),
    visibility 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}
.user-info-action .action .action-img {
  opacity: 1;
  visibility: visible;
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}
.user-info-action .action.fade-out .action-img {
  opacity: 0;
  visibility: hidden;
}
.user-info-action .user-info.fade-out {
  opacity: 0;
  visibility: hidden;
}
.activities.fade-out .title {
  opacity: 0;
}
.activities.fade-out .content {
  position: absolute;
  top: -200px;
  opacity: 0;
}
.activities .call-detail-title {
  position: absolute;
  width: calc(100% - 10vw);
  top: 0px;
  opacity: 0;
  transition: top 0.8s cubic-bezier(0.68, 0, 0.27, 1),
    opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  background: #f4f4f4;
  color: #646464;
  font-size: 16px;
  font-family: Futura;
  font-weight: 500;
  opacity: 0;
  padding: 15px 5vw 7px;
  text-align: left;
}
.activities .call-detail-title.fade-move-in {
  top: -230px;
  opacity: 1;
}
.activities .call-content {
  padding: 20px 5vw;
  background-color: #fff;
  top: 43px;
  position: absolute;
  width: calc(100% - 10vw);
  transition: height 0.8s cubic-bezier(0.68, 0, 0.27, 1),
    top 0.8s cubic-bezier(0.68, 0, 0.27, 1),
    opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  z-index: -1;
  height: 90px;
  opacity: 0;
}
.activities .call-content.fade-move-in {
  z-index: 0;
  top: -186px;
  height: 300px;
  opacity: 1;
}
.activities .time {
  position: absolute;
  right: 20px;
  color: #918e8e;
  font-size: 10px;
  font-family: Futura;
  top: -210px;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1);
}
.activities .time.fade-move-in {
  opacity: 1;
}
.activities textarea {
  opacity: 0;
  resize: none;
  padding: 10px 0 0;
  position: absolute;
  left: 5vw;
  top: -186px;

  appearance: none;
  transition: all 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  border: none;
  background: transparent;
  width: calc(100% - 10vw);
  height: 80px;

  color: #626262;
  font-size: 20px;
  font-weight: 500;
  font-family: Futura;
}
.activities textarea:active,
.activities textarea:focus {
  appearance: none;
  outline: 0;
}

.activities textarea::-webkit-input-placeholder {
  color: #d6d6d6;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
}
.activities .call-text.fade-move-in {
  height: 300px;
  opacity: 1;
}

.activities .log {
  position: absolute;
  transition: opacity 0.8s cubic-bezier(0.68, 0, 0.27, 1),
    bottom 0.8s cubic-bezier(0.68, 0, 0.27, 1);
  opacity: 0;
  padding: 6px 30px;
  background: #cecece 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 17px;
  color: #fff;
  font-size: 16px;
  font-family: Futura;
  font-weight: 500;
  font-family: Futura;
  bottom: 21px;
  left: 50%;
  transform: translateX(-50%);
}
.activities.fade-out .log {
  opacity: 1;
}
.activities.fade-out .log.active {
  background: #63d21f;
}

.status-actions-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.68, 0, 0.27, 1);
  opacity: 0;
  visibility: hidden;
}

.status-actions-mask.fade-in {
  opacity: 1;
  visibility: visible;
}
.status-actions-mask .status-actions-pannel {
  letter-spacing: -0.48px;
  font-size: 20px;
  width: 96%;
  position: absolute;
  bottom: 50px;
  transform: translateX(-50%);
  left: 50%;
  color: #007aff;
}

.status-actions-mask .status-actions-pannel .status-action {
  background: #e2e2e2;
  border-radius: 14px;
}
.status-actions-mask .status-actions-pannel .status-action .item {
  border-bottom: 1px solid #00000029;
  padding: 18px 0;
}
.status-actions-mask .status-actions-pannel .status-action .item:last-child {
  border-bottom: none;
}

.status-actions-mask .status-actions-pannel .cancel {
  margin-top: 10px;
  border-radius: 14px;
  font-weight: 600;
  padding: 18px 0;
  background: #fff;
}
